package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.StrategyComment;
import cn.wolfcode.luowowo.common.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

public interface IStrategyCommentService {
    void save(StrategyComment strategyComment);

    Page<StrategyComment> query(StrategyCommentQuery qo);

    /**
     * 根据toId去查询mongdb中的评论对象
     *
     * @param toId   评论对象的ObjectId
     * @param fromId 当前评论用户id
     */
    void commentThumbUp(String toId, Long fromId);
}
